package com.xpsoft.oa.model.admin;


import com.google.gson.annotations.Expose;

/**
 * AdminContract Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class AdminContract extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected String content;
	@Expose
	protected String ourRepresent;
	@Expose
	protected String secondPartyUnit;
	@Expose
	protected String contractNo;
	@Expose
	protected String contractForm;
	@Expose
	protected java.math.BigDecimal contractAmount;
	@Expose
	protected String payType;
	@Expose
	protected String appointment;
	@Expose
	protected Integer originalCopyNum;
	@Expose
	protected Integer giveCopyNum;
	@Expose
	protected String attachIds;
	@Expose
	protected String attachFiles;
	@Expose
	protected Long processRunId;

	/**
	 * Default Empty Constructor for class AdminContract
	 */
	public AdminContract () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class AdminContract
	 */
	public AdminContract (
		 Long in_id
        ) {
		this.setId(in_id);
    }


	public Long getProcessRunId() {
		return processRunId;
	}

	public void setProcessRunId(Long processRunId) {
		this.processRunId = processRunId;
	}

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	

	/**
	 * 合同内容	 * @return String
	 * @hibernate.property column="content" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getContent() {
		return this.content;
	}
	
	/**
	 * Set the content
	 */	
	public void setContent(String aValue) {
		this.content = aValue;
	}	

	/**
	 * 我方合同代表	 * @return String
	 * @hibernate.property column="ourRepresent" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getOurRepresent() {
		return this.ourRepresent;
	}
	
	/**
	 * Set the ourRepresent
	 */	
	public void setOurRepresent(String aValue) {
		this.ourRepresent = aValue;
	}	

	/**
	 * 合同他方	 * @return String
	 * @hibernate.property column="secondPartyUnit" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getSecondPartyUnit() {
		return this.secondPartyUnit;
	}
	
	/**
	 * Set the secondPartyUnit
	 */	
	public void setSecondPartyUnit(String aValue) {
		this.secondPartyUnit = aValue;
	}	

	/**
	 * 合同编号	 * @return String
	 * @hibernate.property column="contractNo" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getContractNo() {
		return this.contractNo;
	}
	
	/**
	 * Set the contractNo
	 */	
	public void setContractNo(String aValue) {
		this.contractNo = aValue;
	}	

	/**
	 * 合同形式	 * @return String
	 * @hibernate.property column="contractForm" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getContractForm() {
		return this.contractForm;
	}
	
	/**
	 * Set the contractForm
	 */	
	public void setContractForm(String aValue) {
		this.contractForm = aValue;
	}	

	/**
	 * 合同价款	 * @return java.math.BigDecimal
	 * @hibernate.property column="contractAmount" type="java.math.BigDecimal" length="10" not-null="false" unique="false"
	 */
	public java.math.BigDecimal getContractAmount() {
		return this.contractAmount;
	}
	
	/**
	 * Set the contractAmount
	 */	
	public void setContractAmount(java.math.BigDecimal aValue) {
		this.contractAmount = aValue;
	}	

	/**
	 * 付款方式	 * @return String
	 * @hibernate.property column="payType" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getPayType() {
		return this.payType;
	}
	
	/**
	 * Set the payType
	 */	
	public void setPayType(String aValue) {
		this.payType = aValue;
	}	

	/**
	 * 违约条款约定	 * @return String
	 * @hibernate.property column="appointment" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getAppointment() {
		return this.appointment;
	}
	
	/**
	 * Set the appointment
	 */	
	public void setAppointment(String aValue) {
		this.appointment = aValue;
	}	

	/**
	 * 合同数量 原件总数	 * @return Integer
	 * @hibernate.property column="originalCopyNum" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	public Integer getOriginalCopyNum() {
		return this.originalCopyNum;
	}
	
	/**
	 * Set the originalCopyNum
	 */	
	public void setOriginalCopyNum(Integer aValue) {
		this.originalCopyNum = aValue;
	}	

	/**
	 * 返回对方数	 * @return Integer
	 * @hibernate.property column="giveCopyNum" type="java.lang.Integer" length="10" not-null="false" unique="false"
	 */
	public Integer getGiveCopyNum() {
		return this.giveCopyNum;
	}
	
	/**
	 * Set the giveCopyNum
	 */	
	public void setGiveCopyNum(Integer aValue) {
		this.giveCopyNum = aValue;
	}	

	/**
	 * 	 * @return String
	 * @hibernate.property column="attachIds" type="java.lang.String" length="200" not-null="false" unique="false"
	 */
	public String getAttachIds() {
		return this.attachIds;
	}
	
	/**
	 * Set the attachIds
	 */	
	public void setAttachIds(String aValue) {
		this.attachIds = aValue;
	}	

	/**
	 * 	 * @return String
	 * @hibernate.property column="attachFiles" type="java.lang.String" length="5000" not-null="false" unique="false"
	 */
	public String getAttachFiles() {
		return this.attachFiles;
	}
	
	/**
	 * Set the attachFiles
	 */	
	public void setAttachFiles(String aValue) {
		this.attachFiles = aValue;
	}	

}
